<?php

namespace App\Modules\CodeDesigner\AdapterMode;

class Main
{
    private $adapter;

    public function __construct(AdapterInterface $adapter)
    {
        $this->adapter = $adapter;
    }

    public function eat()
    {
        return $this->adapter->eat();
    }
}